﻿<Window x:Class="Mengsk.ProxyDelivery.App.UI.Delivery.WarehouseEditWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="WarehouseEditWindow" Height="300" Width="300" SizeToContent="WidthAndHeight" WindowStartupLocation="CenterScreen" ResizeMode="CanMinimize" Loaded="Window_Loaded">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto"/>
            <ColumnDefinition Width="250"/>
        </Grid.ColumnDefinitions>
        
        <TextBlock Grid.Row="0" Grid.Column="0" Text="名称:" Margin="3" VerticalAlignment="Center"/>
        <TextBox Grid.Row="0" Grid.Column="1" Name="tbName" Margin="3" VerticalAlignment="Center"/>

        <TextBlock Grid.Row="1" Grid.Column="0" Text="电话:" Margin="3" VerticalAlignment="Center"/>
        <TextBox Grid.Row="1" Grid.Column="1" Name="tbPhone" Margin="3" VerticalAlignment="Center"/>
        
        <TextBlock Grid.Row="2" Grid.Column="0" Text="地址:" Margin="3" VerticalAlignment="Center"/>
        <TextBox Grid.Row="2" Grid.Column="1" Name="tbAddress" Margin="3" VerticalAlignment="Center"/>

        <TextBlock Grid.Row="3" Grid.Column="0" Text="启用:" Margin="3" VerticalAlignment="Center"/>
        <CheckBox Grid.Row="3" Grid.Column="1" Name="chkEnabled" Margin="3" VerticalAlignment="Center"/>
        
        <Button Grid.Row="4" Grid.Column="1" Margin="3" Content="保存" VerticalAlignment="Center" HorizontalAlignment="Right" Click="Button_Click" Width="60"/>
        
    </Grid>
</Window>
